package cn.hwua.entity;

import java.util.Date;
public class News {
	private Integer news_id; 
	private String news_title;	//新闻标题 
	private String news_content;	//新闻内容 
	private Date news_addtime;	//新闻添加时间 
	private Integer news_readnums;	//被阅读数 
	private String news_author;	//新闻发布者 
	private String news_img;	//新闻主图 

	public News (){

	}

	public void setNews_id(Integer news_id){
		this.news_id=news_id;
	}
	public Integer getNews_id(){
		return news_id;
	}

	public void setNews_title(String news_title){
		this.news_title=news_title;
	}
	public String getNews_title(){
		return news_title;
	}

	public void setNews_content(String news_content){
		this.news_content=news_content;
	}
	public String getNews_content(){
		return news_content;
	}

	public void setNews_addtime(Date news_addtime){
		this.news_addtime=news_addtime;
	}
	public Date getNews_addtime(){
		return news_addtime;
	}

	public void setNews_readnums(Integer news_readnums){
		this.news_readnums=news_readnums;
	}
	public Integer getNews_readnums(){
		return news_readnums;
	}

	public void setNews_author(String news_author){
		this.news_author=news_author;
	}
	public String getNews_author(){
		return news_author;
	}

	public void setNews_img(String news_img){
		this.news_img=news_img;
	}
	public String getNews_img(){
		return news_img;
	}

	@Override
	public String toString(){
		return " News [news_id=" + news_id+ " , news_title=" + news_title+ " , news_content=" + news_content+ " , news_addtime=" + news_addtime+ " , news_readnums=" + news_readnums+ " , news_author=" + news_author+ " , news_img=" + news_img+"]";
	}

}

